﻿using System;
using System.Collections.Generic;
using System.Text;
using OgilvyOne.Borad.IDAL;
using OgilvyOne.Borad.Factory;
using OgilvyOne.Borad.Model;

namespace OgilvyOne.Borad.BLL
{
    
    public class QuestionsBLL
    {
        IDALQuestionsSUV use = QuestionsFactory.Creat();

        public int Insert(QuestionsModel model)
        {
           return use.Add(model);
        }

        public int IsExist(string email)
        {
            return use.IsExist(email);
        }
    }
}
